import Vue from 'vue'
import Vuex from 'vuex'
import getters from './getters'
import app from './modules/app'
import settings from './modules/settings'
import user from './modules/user'
// 引入商品管理--品牌管理小仓库
import trademark from './modules/produce/trademark'
// 引入商品管理--商品属性管理小仓库
import attrs from './modules/produce/attrs'
// 引入home主页图表mock数据
import home from './modules/home'
Vue.use(Vuex)

const store = new Vuex.Store({
  modules: {
    app,
    settings,
    user,
    trademark,
    attrs,
    home
  },
  getters
})

export default store
